package com.punai.dataclean.service;

import com.punai.common.core.page.TableDataInfo;
import com.punai.dataclean.domain.vo.IncomeDataCleanVo;
import com.punai.externalccb.constants.CCBConstants;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IncomeDataCleanService {
    List<Map<String, String>> IncomeProjectTypeKV = new ArrayList<Map<String, String>>() {{
        add(new HashMap<String, String>() {{
            put("key", CCBConstants.CCB_TYPE.KGYSSJ.getCode());
            put("val", CCBConstants.CCB_TYPE.KGYSSJ.getDesc());
        }});
        add(new HashMap<String, String>() {{
            put("key", CCBConstants.CCB_TYPE.JGJSSJ.getCode());
            put("val", CCBConstants.CCB_TYPE.JGJSSJ.getDesc());
        }});
    }};
    List<IncomeDataCleanVo> getTreeData(IncomeDataCleanVo vo);

    TableDataInfo getGroupTableData(IncomeDataCleanVo vo);

    List<IncomeDataCleanVo> getDetailTableData(IncomeDataCleanVo vo);

    Boolean enterClean(IncomeDataCleanVo vo);

    Boolean allEnterClean(IncomeDataCleanVo vo);

    TableDataInfo getInventoryData(IncomeDataCleanVo vo);
}
